import request from '../utlis/request'
export function register(data) {
    return request({
        url: '/users/register',
        method: 'post',
        data
    })
}
export function login(data) {
    return request({
        url: '/users/login',
        method: 'post',
        data
    })
}
export function refresh(data) {
    return request({
        url: '/users/refresh',
        method: 'post',
        data
    })
}
export function basicsEdit(data) {
    return request({
        url: '/basics/edit',
        method: 'post',
        data
    })
}
export function getInfo(data) {
    return request({
        url: '/basics/getInfo',
        method: 'post',
        data
    })
}
